﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CambiarTextoSpan.aspx.cs" Inherits="GILBERT.WEB.CambiarTextoSpan" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <script>
        function fnPrueba(pNewTitle) {
            alert(pNewTitle);
            objSpanTitle = document.getElementById("spanTitle");
            objSpanTitle.innerHTML = pNewTitle;
            return true;
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <span id="spanTitle">Titulo</span>
    </div>
    </form>
</body>
</html>
